package com.rd.student.jiaji.class4.suyan.zrrd.day03;

public class Demo04 {
    public static void main(String[] args) {
        System.out.println(true&true);//true
        System.out.println(false&false);//false
        System.out.println(true&false);//false
        System.out.println("-------------------");
        System.out.println(true&&true);//true
        System.out.println(false&&false);//false
        System.out.println(true&&false);//false
        int i=1;
        System.out.println(i++>3 & i++>3);//false
        System.out.println(i);//3
        i=3;
        System.out.println(i++>3&&i++>3);//false
        System.out.println(i);//2
        int i1=1;

        System.out.println(true||false);//true
        System.out.println(!true);//false
        System.out.println(!false);//true
        System.out.println(true||true);//true
        System.out.println(++i1<3||i1++>3);//true
        System.out.println(i1);

    }
}
